#include "CrazyTollgateScene.h"
#include "scene/CrazyTollgateScene/CrazyTollgateLayer/CrazyTollgateLayer.h"
#include "scene/CrazyTollgateScene/CrazyTollgateOperateLayer/CrazyTollgateOperateLayer.h"

CCScene* CrazyTollgateScene::scene(){
	CCScene* scene = NULL;
	do 
	{
		CrazyTollgateLayer* crazyTollgateLayer = CrazyTollgateLayer::create();
		CC_BREAK_IF(!crazyTollgateLayer);

		CrazyTollgateOperateLayer* ntoLayer = CrazyTollgateOperateLayer::create();
		CC_BREAK_IF(!ntoLayer);

		scene = CCScene::create();
		CC_BREAK_IF(!scene);

		scene->addChild(crazyTollgateLayer,1);
		scene->addChild(ntoLayer,2);

	} while (0);

	return scene;

}